package com.example.administrator.dc.Service;

import com.example.administrator.dc.Bean.Regresult;
import com.example.administrator.dc.Bean.SendTelcode;
import com.example.administrator.dc.Bean.Verificationresult;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/8/15.
 */

public interface RegService {
    @GET("SendTelcode")
    Call<SendTelcode> sendtelcode(@Query("telephone") String telephone);

    @GET("TelephoneReg")
    Call<Regresult> regresult(@Query("telephone") String telephone,
                              @Query("password")  String password,
                              @Query("safecode") String safecode
    );
    @GET("CheckSafecode")
    Call<Verificationresult> verificationresult(@Query("telephone") String telephone,
                                                @Query("safecode") String safecode
                                                );

}
